import React, { Component } from 'react';
import { Layout } from 'antd';
import Aside from './../../components/BackNavLeft';
const { Content, Sider } = Layout;

class User extends Component {
	render(){
		const menuList = [
			{
				name: "个人信息",
				unique_code: "/setting/personal/info",
				icon: '#icon-dingbudaohang-zhangh'
			},
			{
				name: "修改密码",
				unique_code: "/setting/personal/pwd",
				icon: '#icon-mima'
			}
		]
		return (
			<Layout style={{height: '100%'}}>
				<Sider width={220}>
					<Aside menuList={menuList} menuType="personal" />
				</Sider>
				<Content style={{ background: '#fff' }}>
					{this.props.children}
				</Content>
			</Layout>
		)
	}
}

export default User;